package com.aabbc.aaaaa.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.servlet.http.HttpServletRequest;

/**
 * WebhookController
 *
 * @author: chenfenghai
 * @version: 1.0
 * @date: 2019-12-20 10:44
 * @blame Team
 */
@Slf4j
@RestController
@RequestMapping("/webhook")
public class WebhookController {

    @PostMapping("/zentao")
    public void zentao(@RequestBody String param){
        log.info("RequestBody: {}", param);
    }
}
